<div id="changeHeader">
  <span id="changeHeaderTitle">更改头像</span>
  <hr />
	<?php
	  echo $this->Html->css('changeHeader');
	  echo $this->Session->flash('auth'); 
	  echo $this->Session->flash(); 
	?>
  <div id="old">原头像<br /><img src="<?php echo $_SESSION['userurl'] ?>" id="orignalImg"/>
  </div>
  <?php 
  	echo $this->Element('fileUpload');
  	echo $this->Form->create('User');
  ?>
    <input type="hidden" id="imgPath" name="data[User][url]" value="<?php echo $_SESSION['userurl'] ?>" required />
    <div class="clearFix"></div>
    <input type="submit" id="submitNewHeader" value="确认修改"/>
  </form>
</div>